package com.ciquan.server.dao;

import com.ciquan.server.bean.UserInfo;

import java.util.List;

/**
 * Created by bjliwei2014 on 2015/2/27.
 */
public interface UserInfoMapper {

    int insert(UserInfo userInfo);

    UserInfo selectById(int id);

    UserInfo selectByMobile(String mobilePhone);

    List<UserInfo> selectApplyUser();

    int applyUser(int id);

    int applyRefuse(int id);

    List<String> tokens(String deviceType);

    List<UserInfo> selectMerchant();

    int selectCount(String phone);

    int update(UserInfo userInfo);

    List<String> mobiles();
}
